<%@page import="com.liferay.portal.kernel.util.Constants"%>
<%@include file="../../init.jsp"%>

<h2 class="tle-Content">
	<liferay-ui:message key="bao-cao-thong-ke" />
</h2>
<%
	PortletURL redirectUrl = renderResponse.createRenderURL();
	redirectUrl.setParameter("mvcPath", "/html/view.jsp");
	redirectUrl.setParameter("tabs1", "");
	redirectUrl.setParameter("chonChucNangItem",TienAnConstants.DS_BKTT);
	
%>

<portlet:actionURL var="inBCTKURL">
	<portlet:param name="<%=TienAnConstants.ACTION_HANDLER_PARAM %>" value="<%=TienAnConstants.BAO_CAO_THONG_KE %>"/>
	<portlet:param name="<%=Constants.ACTION %>" value="chonLoaiBaoCao"/>
	<portlet:param name="redirect" value="<%=redirectUrl.toString() %>"/>
</portlet:actionURL>

<script type="text/javascript">
function LapBaoCao(loaiBC){
	$('#<portlet:namespace />loaiBCTK').val(loaiBC);
	$("#<portlet:namespace/>fmBaoCaoThongKe").submit(); 
}; 
</script>


<form id="<portlet:namespace/>fmBaoCaoThongKe" method="POST" name="fm" action="<%=inBCTKURL.toString() %>">
	 <input type="hidden" name="<portlet:namespace />loaiBCTK" id="<portlet:namespace />loaiBCTK"/>

<table class="gridnormal">
<tr>
		<td style="padding: 10px;">
					<aui:button onClick="LapBaoCao('1')" value="chon"/>&nbsp; <liferay-ui:message key="danh-sach-ho-gia-dinh-tien-an-dia-phuong" />
			
		<td> 
</td>
</tr>
<tr>
		<td style="padding: 10px;">
					<aui:button onClick="LapBaoCao('2')" value="chon"/>&nbsp;  <liferay-ui:message key="danh-sach-nguoi-co-tien-an-tai-dia-phuong" />
			
		<td> 

</tr>
<tr>
<td style="padding: 10px;">
					<aui:button onClick="LapBaoCao('3')" value="chon"/>&nbsp; <liferay-ui:message key="danh-sach-ho-xoa-an-tich" />
			
		<td> 

</tr>
<tr>
<td style="padding: 10px;">
					<aui:button onClick="LapBaoCao('4')" value="chon"/>&nbsp; <liferay-ui:message key="danh-sach-ho-so-trich-luc" />
			
		<td> 

</tr>
<tr>
<td style="padding: 10px;">
					<aui:button onClick="LapBaoCao('5')" value="chon"/>&nbsp; <liferay-ui:message key="danh-sach-truong-hop-can-xoa-an-tich" />
			
		<td> 

</tr>
<tr>
<td style="padding: 10px;">
					<aui:button onClick="LapBaoCao('6')" value="chon"/>&nbsp; <liferay-ui:message key="thong-ke-tien-an-tai-dia-phuong" />
			
		<td> 

</tr>
<tr>
<td style="padding: 10px;">
					<aui:button onClick="LapBaoCao('7')" value="chon"/>&nbsp; <liferay-ui:message key="thong-ke-yeu-cau-trich-luc" />
			
		<td> 

</tr>
<%-- <tr>
<td> 
	<input type="button" name="<portlet:namespace />loaiBKTK" id="<portlet:namespace />loaiBKTK" value="<%=TienAnConstants.LICH_SU_PHAM_TOI %>" /> <liferay-ui:message key="lich-su-pham-toi-cong-dan" />
</td>
</tr>
<tr>
<td> 
	<input type="button" name="<portlet:namespace />loaiBKTK" id="<portlet:namespace />loaiBKTK" value="<%=TienAnConstants.DS_TAI_PHAM %>" /> <liferay-ui:message key="danh-sach-tai-pham-dia-phuong" />
</td>
</tr> --%>

<%-- <input type="submit" name="<portlet:namespace />lapBaoCao" value="<liferay-ui:message key="lap-bao-cao" />"/> --%>
</table>
</form>